*{
    margin: 0;
    padding: 0;
}
body{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    overflow: hidden;
    font-family: 'Roboto',sans-serif;
    background-color: rgb(235, 211, 179);
}
.container{
    position: relative;
    height: 50px;
}
.container .input{
    background-color: #fff;
    font-size: 18px;
    border: 0;
    padding: 15px;
    height: 50px;
    width: 50px;
    transition: width 0.3s ease;
}
.container .btn{
    cursor: pointer;
    border: 0;
    background-color: #fff;
    height: 50px;
    width: 70px;
    font-size: 24px;
    padding: 20px 10px;
    padding-bottom: 10px;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.3s ease;
}
.input:focus{
    outline: none;
}
.container.active .input{
    width: 200px;
}
.container.active .btn{
    transform: translate(198px);
}